﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;

namespace CSharpNewFeaturesUse
{
    public static class INumberClass
    {
        static public void ShowUse1<T>(this T any)
            where T : INumber<T>
        {
            Console.WriteLine($"扩展目标为实现了INumber<T>的{typeof(T)}类的{any.ToString()}");
        }
    }
}